<script setup>
const props = defineProps({
  options: {
    type: Object,
    default: () => {
      return {}
    }
  }
})

// const tAnimationConfig = computed(() => {
//   return {
//     Basis: 'x',
//     Duration: 2000,
//     Length: props.options.xAxis ? props.options.xAxis.data.length : 99
//   }
// })
</script>

<template>
  <div style="width: 100%; height: 100%">
    <dv-border-box7 class="my-box7" :color="['#0749a3', '#4195d2']">
      <div class="dom-box">
        <div class="dom-title">热销产品排名</div>
        <div class="dom-content">
          <ps-chart2 :option="props.options" />
        </div>
      </div>
    </dv-border-box7>
  </div>
</template>

<style scoped lang="scss"></style>
